package hotel.meituan.oversea.biz.mapper;

import hotel.base.oversea.repository.MyMapper;
import hotel.base.oversea.vo.meituan.request.hotel.MtHotelDetailForFpReqVO;
import hotel.base.oversea.vo.meituan.response.hotel.MtHotelDetailForFpRspVO;
import hotel.meituan.oversea.api.entity.MtHotelDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * 美团酒店主信息mapper
 *
 * @Author qiuyy
 * @Date 2020/5/15
 **/
public interface MtHotelDetailMapper extends MyMapper<MtHotelDetail> {
    public int insertIgnoreBatch(List<MtHotelDetail> list);

    public int deleteBatch(Map hotelIds);

    public int updateStateTypeByHotelIds(Map params);

    List<String> queryHasJobDetailIds();

    List<String> reIds();

    /**
     * <H1>分页查询酒店及房型信息</H1>
     *
     * @param mtHotelDetailForFpReqVO 实体对象
     * @return java.util.List<hotel.base.oversea.vo.meituan.response.hotel.MtHotelDetailForFpRspVO>
     * @author HuangT
     * @Date 2020/9/2 17:58
     */
    List<MtHotelDetailForFpRspVO> getHotelInfoForFp(@Param("t") MtHotelDetailForFpReqVO mtHotelDetailForFpReqVO);


    /**
     * 查询查询过的酒店信息
     * @return
     */
    List<Long> getMeituanHotelIds();
}
